package org.example.Day10;

public class MyRunnable implements Runnable{

    @Override
    public void run() {
        //线程要执行任务
        for(int i =0;i<5;i++){
            System.out.println("子线程输出 ===>"+i);
        }
    }
}
